﻿<UserControl x:Class="MerulaShellUi.colorpicker.ColorPickerSelector"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:colorpicker="clr-namespace:MerulaShellUi.colorpicker" Margin="5" mc:Ignorable="d" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" d:DesignHeight="300" d:DesignWidth="300">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="*" />
            <RowDefinition Height="30" />
        </Grid.RowDefinitions>
        <colorpicker:ColorPicker x:Name="ColorPicker" ColorChanged="ColorPickerColorChanged" />
        <WrapPanel Grid.Row="1" HorizontalAlignment="Left">
            <Border Name="oldColor" ToolTip="Old Color" BorderThickness="1" Margin="0,2,2,2" BorderBrush="Black" Width="30" Height="26"></Border>
            <Border Name="newColor" ToolTip="New Color" BorderThickness="1" Width="30" Height="26" Margin="0,2,2,2" BorderBrush="Black"></Border>
        </WrapPanel>
        <Button Name="btnOk" Content="Ok" Margin="0,2,47,2" HorizontalAlignment="Right" Grid.Row="1" Click="BtnOkClick"  />
        <Button Name="btnCancel" Content="Cancel" Margin="0,2,0,2" HorizontalAlignment="Right" Grid.Row="1" Click="BtnCancelClick"  />
    </Grid>
</UserControl>
